extends Node
var score1 :int = 0
var score2 :int = 0

func set_label1():
	score1 += 1
	get_node("Label1").text = String.num_int64(score1)

func set_label2():
	score2 += 1
	get_node("Label2").text = String.num_int64(score2)


func _on_ball_player_score(player_num):
	#print(player_num)
	if player_num == 1 :
		set_label1()
	else:
		set_label2()
